MailPoet\EmailEditor\Engine\Templates\Templates S

Total Complexity 47
Dependencies 4
Dependents 5
Total lines 295
Lines of code 210
Logical lines of code 93
Comment lines 42
Methods 15
Properties 6

Methods 15

Method Rating Maintainability Complexity Lines of code
addBlockTemplates()
A
54 11 18
getBlockTemplateTheme()
S
56 5 17
addBlockTemplateDetails()
S
62 5 12
forcePostContent()
S
65 5 9
getCustomTemplates()
S
52 3 25
addThemeTemplates()
S
65 4 9
getCustomTemplateTheme()
S
63 4 10
getBlockFileTemplate()
S
62 3 11
initializeApi()
S
53 1 27
getBlockTemplates()
S
56 1 20
initializeTemplates()
S
57 1 18
getBlockTemplateFromFile()
S
57 1 17
__construct()
S
75 1 4
initialize()
S
64 1 9
getBlockTemplate()
S
75 1 4